wip: migrate to bluebird
prevent var leak
fix localStorage test
add bluebird to bower dependencies as well
update syntax