Add js stubs