Also, client-side JavaScript encryption has its limitations since it would still be susceptible to a server-side code poisoning attack executed either through a man-in-the-middle attack or the service provider acting maliciously or subject to jurisdictional court order.
This tactic fails too often because criminals are adept at obfuscating their attackcode, allowing their activity to remain undetected for long periods of time.