Check this function is calling by your custom web resource or by OOB javascript.
If this is not required you can remove this function call. use browser debugger for more information.
Hope this helps. ----------------------------------------------------------------------- Santosh Bhagat If this post answers your question, please click "Mark As Answer" on the post and "Vote as Helpful"