Refactor log function & add minified monica-js

New logger function and message type
Add compressed monica-js (dist/monica-amalgamation.min.js)