Added first conditional and second prompt

Added first conditional to check if JavaScript is enabled or not, and
added second prompt.