[JS] remove promise from platform.winjs