Global variables fixing

avoid implicitly variables declaration and fixing "use strict" mode
For consistency and flexibility of use, I'd prefer you just var this not replace it with chained function calls.