Added javascript stubs