Made a js class of the Prompt unload