1

Following is my contract:

pragma solidity ^0.4.4;
contract Process{
address public owner;
uint balance;
uint amount;

function Process(){
    owner = msg.sender;
    balance = 1000;
}

 event DepositMade(string msg);
 event WithdrawalMade(string msg);

 function deposit(uint amot){
    balance = balance + amot;
    DepositMade("Deposit is done");
}

function getBalance()constant returns (uint){
    return balance;   
}

function withdraw(uint amot)returns (bool){
    if(amot > balance){
        return false;
    }
    else{
        balance = balance - amot;
        WithdrawalMade("Withdrawal is done");
        return true;
    }
}

}

Now i am able to run this code using command prompt using its compiled code. When i deposit or withdraw amount, i only receive transaction hash, even though i have created events. I don't know the syntax of nodejs and web3js. I tried , but failed.How should i retrieve events using nodejs for above code?