Fixes from JSLint