Renamed files for easier reading and editing
Improved readability, added external javascript file.