add base_url to body for javascript consumption
add adhocracy.base_url javascript helper function