Common.js: removed old code