[For Review] Graph controls now handled by jquery.t.js itself.

The button click event listeners and the corresponding behavior are now
implemented in `t.js` itself, requring `ss.js` to call only one draw
function on the appropriate element.

I have tried to proceed in the direction as discussed. Can you please 
provide some reviews on it? 

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>