Variable Value In String Javascript Methods And Functions