optimze common.js to ge domain