make it work for Chrome/MacOS X