Encrypting Post Data with JavaScript

The standard for encrypting data in transmission over the interwebs is obviously SSL. What if you want a simple way to encrypt data without the cost of an SSL? Why not encrypt it client-side with JavaScript, pass a key, and decrypt it server-side?