Javascript variables

Updated variable declarations