cleaned out js file