missing defaults for javascript