Ported infograph to JS and prevent exclusion from persisting

Signed-off-by: Sheik Hassan <solergiga@yahoo.com>
Line above for clarity.