Corrected JS syntax