Added window.onresize event inside of the jQuery ready function...

to redraw chart responsively.