Adding mainsite.js

added mainsite.js