Adds chosen to Javascript build.