compile comparing) for JS
add identity() fixes 3455
add noop() for #455