added rivetjs to js folder
added setObjectPropertiesFromJSON to each class