COMMONS-344 add back the define of Javascript Manager instance