add extra directory, with replacements for dojo js apps
small fixes and optimizations