consistent variable names in JS file