A JavaScript library building dynamic html form with JSON