Javascript error push for Charlie