Firefox JS fix and IE8 cosmetic fixes.

Firefox use to display "undefined" for the selection fix. This has now
been resolved.