Bug 1050164 - Investigate to implement standalone shrinking library

https://bugzilla.mozilla.org/show_bug.cgi?id=1050164
I prefer to add a `this.elements` to contain `this.elements.foreground` and `this.element.background`. But I think its just a nit.