added config for docs js and fix almond paths