Add build config to support both JS library and JS append files.