Enforce JavaScript requirement in browse.php