- removed all debug alert - added comments and explations to code - fixed "too much recursion error" thrown by javascript
- removed all debug alert
- added comments and explations to code
- fixed "too much recursion error" thrown by javascript

GFZ-Centre-for-Early-Warning/caravan,GFZ-Centre-for-Early-Warning/caravan,GFZ-Centre-for-Early-Warning/caravan,GFZ-Centre-for-Early-Warning/caravan