Add core JS reference to index