Javascript console abstraction - Keeps logging to a minimum in a production environment