How to put a JavaScript into an HTML document