Fixed bug in ObjectMessage formatting
Using strict compare operators
Removed wrongfully commited log statements
Refactored code to not rely on Rhino specific JS syntax