adds js user variable