refactors sentiment grid JavaScript to streamline function calls and remove unnecessary global variables
adds header, footer and details templates to sentiment grid project