compile js versions too