corrected JS import/export issues / CommonObject null issue