Use $log.debug instead of $log.info
Preliminary JS linting