I keep wondering if we don't want to do that directly from the css and just bail out here.

Also you don't need to declare |var inner| on top of the function, just do it closer to where it is used since it will be useless if you early return.