split mod.js into several submodules
add images to vendor files
clean mod tests
resolve now properly get promises