fix app js index order