Expressions_Personal js code moved

I mistakenly coded all the js code inside the html file. I have since
moved it to the js file and correctly linked it from the html file and
tested it to work.