Adding comet using AJAX from the Lift framework