add jshtml and fix index