Created a common.js File

creating a common javascript Files