Update JavaScript
Clean up frontpage templates