Fixed issues with Javascript. Chrome Extensions do not allow inline scripts. All javascript must be in a seperate file.