result must be js file