But I also need the prompt to inherit this class. Otherwise this fix won't work. This gives both `element` and `prompt` the class `output_javascript`.