Fix promises

@nandy-andy @rogatty This should bring back the promise with one exception of an error in loadMapData chain.
Since the catch block was not working there i used @rogatty 's  advice and used error callback as a second param in a 'then' block. Works at smoke tests but we should test it on preview as well.