Initialize JS for disabling regions (bug 828673)