Fix references to loopback; fix jshint warnings