Fix bug on empty data
Update submodule javascript-api