Remove binary and update JS api