Added comments

Added comments to api.js.
Changed init function name to "initCal".
Changed iframe atrribute