write the js in the body