Mind moving this to Level.setTime()? You'll also need to set the annotation to @JSStaticFunction and the method to be static.

I don't really want to pollute the top-level namespace, so I would rather have nonstandard methods in the "OOP style" as treebl calls it.