Creating prompts for user input and alerts for user output in JS through WebStorm