Spilt into seperate js and css files.

Modified the css.