Add JS event namespace.