Added ability to pass in an array of urls, & made callbacks empty functions to remove the need to check if they exist