Added variables/prompt/procedure to .js file