new target for static library with JS support