stop polluting window namespace

stop polluting window namespace by moving all public fonctions to a
"svg3d" namespace