Fixed specifying between url and content with html and script loading

Added string function for url validation to specify when a url or plain content is being passed to be loaded with scripts and html