Fix messages js