A ConfirmBox is pop up before deleting tweet;
Move a function from page to js;