added rest of the method calls to examples js