improving way module container renders elements
fixing way preferences are rendered
fixing js logic error
fixing way preference js objects are joined
still trying to fix js object joining
improving rendering of outside container