Fix issue in javascript maps
Merge pull request #2329 from xillibit/k30_bugs3

Fix issue in javascript maps