WIP conversion to promises/a+ spec
finished promises/a+ integration