Example now creates valid js file