Update loc.js

added semicolon