Fixed a problem with proj4.js changing defs parameters during code execution