Set up namespace for JS