seperate objects for node or browser + finish up the tests