Update helpers.js

Cleaned up formatting.