drop oldjs code map manipulation