javascript: no more explicit variable declarations