simplify promise usage
use ember's reference to jQuery
simplify more promise usage