I fixed some minor dependency issues and replace mochijson2 with jiffy in brain API