Updated base template for better ie8 support