JS error logging for Concrete5