patched back in location_helper until we get rid of rails views