i have this function which i define inside HEAD:
Put your code in an separate tag. As soon as a tag has a src attribute, any content of that tag is ignored in favor of the given resource. so just do this:
src