Initial works towards having headless tests with PhantomJS
Add missing semi-colon (jshint)