Update mock api with latest changes
Add json loader for webpack
Fix JSHint errors