Promise lib for use inside requirejs-related projects