JsInline: Inline local functions
JsBackend: dangerous issues temporary fix
JsInline: generic unused reference collector utility
JsInline: remove inline local functions instances if they are not referenced anywhere