Fixed bug #10067: common.js uses undefined variable