eliminate some JSLint errors