converted js objects to .create instead of new <obj>