Updated js elements / structure

Updated jQuery. Moved the js around. Put js into strict mode