now client side script uses Promise instead of when.js, bumped version to 0.5.4