fixed .js file