Update cradle.js

with JSON.stringify, the problem is maybe fixed for first.