made maptest and necessary json/javascript in header