Made the return type explicit on promise

Small fix. Related to:
http://lists.w3.org/Archives/Public/public-script-coord/2014JulSep/0174.html