Making a proper 'PenMode' type
Minor spacing adjustment
Removing unused code
Refactoring code for finding random coordinates
Whoops
Providing Scala-typed interfaces for JS-injected objects

Also, removing factually-incorrect whining from code
Comment fix
Aliasing common ScalaJS types/objects throughout the whole package

Later, when we have our theoretical interface layer, this stuff can all move there