alter js for index