add gon to get variables into js
add component fields
add components ids
first pass at collecting components
recursivly collect components