Pure js on mbc