extract js file