Update helpers.js

Cleaned up formatting.
Merge pull request #1 from leighfarrell/master

Update helpers.js