Mutualize some JS tooling