fix bug: use absolute path to ignore duplicated js