refs #200 obtain pathname from module object or via JS where possible to avoid hard-coded pathnames. pending https://github.com/zikula/core/pull/1212