Add 'data' and 'selector' which are required for bootstrap.