update comiled js file after refactor