Fixed a bug in JS and fixed social links in CSS