removing unneccesary js