logging to mongo implemented. obfuscated js for production, use index in development directory for all development