winjs3, bug fixes