Creating A Javascript Functions With Parameters