jscam: Fix some jslint warnings. refs ticket:4234