protecting the  and  functions from minified, and adding some filters to the index file