move scripts and css to seperate files.