cleaned up a few JSLint errors