JS testing from the IDE with PhantomRunner: JUnit and PhantomJS integration
dev.solita.fi