fixed missing jQuery wrapper for phantomjs
Added automated testing with grunt-qunit