Try not to use inline Javascript. Is the same reasoning as using inline CSS. You can use jQuery `$.on` or other such thing. I'm going to give you tips on this later.