Move logging.js to js dir