[bulletproofing] Fixed JS error that may occur in the administration section
[bulletproofing] Fixed potential JS error