pjs and webpd code for an interactive map