Checks javascript is enabled on index.php