add main js and install toxic