Update libe/shared.js

update mongodb calls, fix the double _ black cards