Ported infograph to JS and prevent exclusion from persisting

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Merge pull request #599 from hassanNS/infograph-js

Ported infograph to JS and prevent exclusion from persisting