make JS more accessible by third parties