style changes
Merge pull request #1 from johnbender/master

Merge @johnbender's style changes to write.js