[JS] Fix push with 1.2.7 build