Ensure javascript is formatted