Fix minify problem

Implicit inject dependencies on this function to avoid error after minifying. I know that I could use your socket.min.js separately but I have a build task that minifies 3rd-party libraries in which there is socket.js. Moreover, I think that would not be risky to inject dependencies implicitly.