Changed javascript logging into an event