Cleanups: Separated Javascript from HTML (for unobtrusive Javascript).