Use a global URL config with JS code

This makes changing the URLs or even the URL scheme a breeze.
Instead of a TopicActivityResource, use KeywordResource