Create loggy.js

Initial commit. Performance upgrades required.