Writing Neighborhood Friendly Javascript Applications