[Events Calendar] Adds ajax includes
[Events Calendar] Some refactoring for v4.0