Bug 987672 - Use a more reliable Function constructor and |bind| implementation for marquee event handler compilation. r=bz