finish the front page without javascript