Use ResourceLoader instead of manual scripts/messages collection