How do I change from HTML to a script?