add promise support to JS, remove keepCallback params, and bump to 0.5.0