removed jQuery version, added some documentation, vastly improved the base script with a LogMask closure