Fix extension to also work in greasemonkey