discuss the advantages and disadvantages of client-side scripting