[SD-1178] fix the javascript error in related to facet filter