working on ajax for saving custom maps
configured array return and moved drawing js to asset pipeline