Browser based commonjs compliant module loader