How To Pass Input Value To Javascript Function