Committing a neater JS file