add result_box template
improve JS library
improve ini file