Add `JSON3` and `platform.js` dependencies