cleanup console logs and nasty semicolons