add javascript update for bootstrap form