Bug 859573 - Part 1: Register script listeners via decorators; r=aki