Add time stamp to javascript log method. Minor adjustments.