Fixed JS error on landing page