Created service plugin for requirejs