Separated Javascript from HTML. Server-side now