Added base widget js