fix deps js generator.