update javascript to log objects unstringified
Merge pull request #285 from thisishugo/javascript-log-objects

update javascript to log objects unstringified