Removes useless JS