Added javascript namespacing.