moved ajax to js file
added toggle calendar view function
created events json
created events json