added missing resource files
fixed map references
added missing jquery ui file
fixed JSON usage
fixed maps and JSON on production
fixed some production issues