included fs in js file