change async operations to synchronous in mojito-validate
Merge pull request #5 from Yujun-Qian/master

change the operations in mojito-validate to synchronous