Namespace instead of introducing global JS functions.