rename js helper to util.js