Added option to load events once, instead of making an ajax call everytime