Refactoring JavaScript and index.html
bs3 for individuals