Checks for existence of an element with the id js-parallax-window before allowing parallax() to be called, preventing "Uncaught TypeError: Cannot read property 'top' of undefined" errors on the website.