Bug fix, returning $output instead of empty string in case of CDNs being used