add foundation for Javascript support

includes the basic hooks for javascript to allow for extendible brands.
enable adding and removing of rows

adding of row is not yet all content
complete javascript for adding and removing rows