Small changes for JSLint

Adding semicolons and moving one var to satisfy JSLint (which will soon
be part of my gulpfile...)