Update ysubs.js

Fail method doesn't receive data object