update front page template, js for top region