[jscore] Fix compilation warning