/*global jQuery, icl_ajx_url, icl_ajx_saved, icl_ajx_error, icl_ajxloaderimg_src, wpml_core_strings */ var WPML_core = WPML_core || {}; WPML_core.htmlentities = function( s ) { return jQuery("
").text( s ).html() }; WPML_core.sanitize = function(s) { if (typeof s === 'string' || s instanceof String) { return s.replace(/