integrate rot.js and generate first map