init dawn.js