Decrease Area Of Rectangle With Variables In Javascript