Added calendar page and scripts for debugging. 

Sam please check the files and help to find the source of the errors