Created utilities.js

Reverting some over-organization