JSLint updates
minor modifications