updated GoJS definitions for 1.2 and various fixes