MongoDB schema with runnable javascript ccode in NodeJS