Replace indexOf() checks with explicit string equals

Remove unused evt variable

Replace indexOf() comparisons with ===

Allow user to choose graph to display instead of hardcoding one