added form and textfield widgets. changed js code from index to main.js. added build.js script for using with r.js. optimized widgets, adding support to DOM bulk modifications.