No js_path or css_path found. We need a plone.resource based resource path in order to store the compiled JS and CSS

and that's exactly what you get when you skip the resource registries: you have a viewlet injecting the resources site wide.

just be aware you may need to avoid some common issues with RequireJS, especially the Mismatched anonymous define() modules.

better to include you code in a var, as described here: