Added JS and index notation