removes unnecessary js file