first iteration of the mapper, there are probably so many spelling errors in this
building interface javascript initializers