Detect if Javascript is enabled in a browser