Updated JS to fix offset for header and anchor issues.