prepareds.js