Modularize JavaScript Code

That was me not paying attention when I redid AutoComplete. It’s fixed now.

I’ve removed the minification from the bundle command and added the bundleUgly and bundleDebug command. bundleDebug adds source maps, which helps the debugger.

It’s a pragmatic idea. If this is ok, I would add the pull request for this code soon. I like this. The disadvantage is that this means that the process of modifying the JavaScript code would be somewhat awkward.

This works on my machine …
Actually, it only did when I changed the default tileLayer. It’s fixed now.