building scrpit trim
use local JS files