some small updates for readability
jshint copy from another project; rebuild