A configurable viewer for the ESRI JS API