Added support for AltGr characters.

Unaware of possible side effects, but works in Webkit (Chrome/Safari) and Firefox. Also works in IE11, but tons of other problems with that browser so didn't bother too much :-)