Add JS dependancies, index updates