I think more than 90% of the website using java script.If you think security nothing is safe in internet unless you manually handle security in the system..