Modified mockapi-browser.js to make all API calls synchronous

Signed-off-by: Daniel Koo <danieljamin.koo@gmail.com>
Merge pull request #51 from kood1/master

Modified mockapi-browser.js to make all API calls synchronous