Added polyfill.js in index.jsp
<script type ="text/javascript" src ="js/main.js"></script>
<script type ="text/javascript" src ="js/searchBar.js"></script>
+ <script type ="text/javascript" src ="js/polyfill.js"></script>
<jsp:include page="header-index.jsp" />
