New version

Works in more browsers