Settext Function In Javascript With Parameters