Comprehensive javascript logging