Add fetch method to get parameter of script already registered and allow register to support debug src parameter