I'm not a Javascript expert, but I thought it was better practice to keep it out of the HTML files themselves?