Created common.js

Created common.js