Inline JS callbacks.