The javascript method e.target.id wasn't firing consistently in chrome for some reason. This commit changes the method to use the jQuery '.attr' method to select the ID of the calendar.

Also changes the deprecated .live to .on

refs #364