Tell surveyor when a user has js

Surveyor was calculating a lot of dependencies because the users "I have the javascript" flag wasn't set.

@johnwards the path ping to enable the stress testing is /has_js