beach.js and modified map