Codestyle for client coffeescript/javascript

I have an idea to extract PhantomJS client from Poltergeist into a separate gem so it'll be available separately, outside of the Capybara. Meanwhile, I was checking the client code and notices that the codestyle is very inconsistent and non-idiomatic.

So, here's the fix for that.