Wow, didn't think writing winjs stuff is THAT (DOM-magic-)hacky, thinking about MVVM...