Fixed map template by delaying execution of javascript until all deform callbacks are finished.
Updated datasets add wizard to allow multiple datasets and multiple types of datasets to be added at once.