add jasmine specs, test mapProm, flatMap. Add $.select()