Added active state

A bit inconsistent in Chrome/Mac, sometimes its activated, sometimes
not, but tested/ok in Firefox and Safari. Should solve GH-16.