I wanted to know if there is a way to make your JavaScript private from client side?
How to make your JavaScript private?
javascript;jquery
You cannot make client-side javascript private.  You can obscure it by running a program that will shorten all the variable names into meaningless names, but by definition if it can be read and executed by a browser, so can it be read by a person.