separate js functions in javascript file. a bunch of css styles