add two apis about to tracks
fix base_url bug, add BASE_URL property into all.js
pull the ehsan's changes