added javascript dependencies in the index file