Write script in HTML