Fix JS, dot notation instead of index notation.