A little house cleaning

Moved the javascript into it's own file, moved the script tags to the end of body and added a favicon for the project.