Remove messages which are not used in JavaScript

Change-Id: Iad218373a9062e37b457cfaf200f9ab8711d7522
Merge "Remove messages which are not used in JavaScript"