Create Util.js

Utility functions