Added base to all urls for npm.js compatibility