fix dependency for phantomjs; fix return type in method getCommentIsDeleted to boolean