Added the ability to prompt the user for input through javascripts prompt();