support server side js and arbitrary assets
proper chaining for emoji so other hooks can be called