LPS-35249 - Fix for Theme JS Error