The Javascript we added to the body html keeps disappearing, is there another way to add this?

Scripts are not allowed in the editors for page content, product content, or category content. CSS and HTML are fine, but any JavaScript is removed by the system. There are two places that do allow scripts, though: the share script area and the HTML head area; both of those are edited in Site > Settings > "SEO / HTML" tab.