Log Is Not Defined Js