JavaScript utilities

Results of each helper in utils.js. Open the Console tab to see the same output.