fixed the mysql insertion bug, localized bootstrap js, form.php to select the matching file with heuristic