#383 added 'use strict'
#383 changed emptyfunc to local reference
#383 Changed global references to local joola
#383 Fixed issues with local/global references
#383 Fixed issues with local/global references
#383 Fixed failing auth tests.
Merge pull request #384 from joola/feature/#383

#383 'use strict' mode