Map layout and JS module