Wrap 'use strict'

`'use strict'` can bug other js files when concatenated, I moved it into the function to avoid this