code cleanup

suggestions from jslint
code cleanup

coffeelint suggestions
code cleanup

suggestions from coffeelint
code cleanup

coffeelint suggestions
remove unused assert-extra
hints for jslint
code cleanup

coffeelint suggestions
code cleanup

coffeelint suggestions
code cleanup

coffeelint suggestions
code cleanup

coffeelint suggestions
code cleanup

coffeelint suggestions
remove dependency on deleted assert-extra
add admin flag to user

[#55491248]