small form framework for javascript