Fixed some issues on avascript gui objects and form field component