base: jquery-plugin creator adapted to requirejs