support require global API
load scrips through queue