Removed java script code

Removed all java script code from error-404.html and moved code into javascript.js