Deleting all unnecessary spaces from javascript files