change calling method
use local js files