Write clean modern JS modules that run everywhere