How to used JavaScript in HTML Coding