Used minified js in production.
Fixed local references.