I am testing out a script for Bonsai Boy that will handle phone orders using cj and sharesale tracking id in url, it is javascript. Is this dangerous since the code can be viewed by anybody? or should I look for something that is server side like cgi.
It will print the most recent referring affiliates user id next to phone number on every page

Thanks for your help.