Add compatibility script and 'back to top' button