created js file to communicate with the rdio api