Calendar refactored, js converted to assets