Added helper.js for global functions and constants