• Also tested on IE9 and noticed the same thing.

    IE gets rid of the 'j a v a s c r i p t :' text.

    Just re-wrote it in front of "alert(navigator.userAgent)" FTW.