pulled out scripts from html & put into unique file