start working on the promises version. first step: create a promise with the Q library
the first promise return an array of ids
extract the creation of the first promise to a separate JS file
properties ids are provided by the main program
rename JS file
add comments, convert indentation to spaces