How To Use Input Function In Javascript With Parameters