+Added ids for graph types as a setting: cleaner than hardcoding values and facilitates easier changes down the line

+Started adding JSDoc to functions
*Simplified highlight function calling: don't need to provide variable settings manually anymore
*Bugfixes