Indicate whether JavaScript is enabled

trac #9397