Client Side JS Code Samples