1 fix in JS AND Message Properties

[1] added a space between the function(){

[2] Added message properties structure based on how I'd like it to be.  If there are any opinions then feel free to add, or anything I've missed

@peet