updated strict mode this

this on a function only applies on firefox
not in chrome or IE