Amazon linker JavaScript exercise from http://www.teaching-materials.org/javascript/exercises/greasemonkey.html