Javascript Changes

Including JS files in footer and moving code to external files.