Update Promise.js

remove debug code