Just playing with box movements with html5 canvas