After going through some blogs and StackOverFlow questions, I've found these various solutions.
Setting an active menu item based on the current URL with jQuery
In short, it uses jQuery to match the url with link "href" value and set the active class if matches.
This blog also defines a Helper Method. and this too, also this one.