javascript is silly