make it work on newer versions of chrome