[JS] Update push implementation for WInJS