modify resourcemap.js for security concern