#42 Conditional logging for js debugging