i used ensureNamespace method in BioCalc.
i replaced the "var lu = lu || {}" with "window.lu || (window.lu = {})"
everywhere