added option for header to be ignored, moved header append to end to avoid index miscount with selecting active li.
Check for active class
re minified