- Removed hard coded server path to load the add-events script
- Replaced with function to get the template directory path.

This allows the theme add-on to be used in any theme
-Added date-picker function