JS unit tests experiments

Just experimenting some crazy idea, like bundling the tests with production code.

http://jsfiddle.net/ywwzLjLc/

   Below is the actual script content: