Updated link structure and added requestAnimationFrame polyfill