Adding the logging

A simple client side logging framework for javascript has been added.
It's simple but effective. Will implement the cool ajax one soon I
think.