Fixes closure scope of template render function
Allow aliases for potions/formulas
Add table of content to core script
Add an event object to the oculus