fixing/improving node appium examples