Fixed javascript bug in transfer_market.js: execute only when that page is displayed