Remove uncessary javascript classes