Cleanup: fix location of javascript resources.
Working towards more intuitive batch ops on messages.