make js seperate