Instapaper makes it easy to copy the Javascript you need.