forgot how to write javascript