fix broken js file