Removed cdn dependency for jquery.
Moved inline javascript to their own files.