Multipurpose jQuery calendar