Move these declarations each to their own line:
var ...
var ..