Encoding themeHandle variable in order to prevent XSS Vulnerability.