seperated out js file
updated css