Added dynamic js to calendar.php