modules.tabs: updated to new plugin template and UMD pattern