auto add js src by register name