Adding messaging capabilities; Removing unused JS.