Use the statically typed DOM API.
Upgrade to Scala.js 0.5.0-RC2 and Scala 2.11.1.
Use the automatically generated launcher.