Lookup all define in js file and replace it.