Got the classes addition removal working
Move the map init code out for reusability when we need a redraw
Changes cross site php access temporarily so I can develop locally