add server side logic, modified javascript for stops#show map feature