Updated js prompts with jquery