modules.togglify: adds ability to add objects through html attribute