Added JS function stubs.