Added support for plugin JS controllers having their own namespace