Use LIKELY() / UNLIKELY() hints when suitable in the JavaScript bindings