In Javascript, is it possible to pass a variable into