Refactored currentAuction reset code.
Merge pull request #35 from johnttan/refactorMarket.js

Refactor market.js