Fix select2 support by moving initialization from `build` to `postBuild`.

Fixes jdorn/json-editor#225 and makes obsolete jdorn/json-editor#210.