fixed in-place gulp beautify

@rafkhan please merge