Added necessary js files to includes/js

These files should be copied using gulp to the map application.
Note that xbbcode has been changed in order to open links always in a
new window.
Cosmetic changes.