Updating special regions javascript