Fix js errors on new page that show up when viewing on desktop.