Bug fixing in case-sensitive text clusters and js checks for local objects