updated error pages
removed test JavaScript
changed file linking path and how jQuery is included