Logging for all browsers
Added assert method, cleaned files