fix map and geo-data edit page
avoid javascript exceptions related to Faye