fix issue where the view handler when enabling the jsonp support would not be public