created base ui js part