fix bug
fix the view bugs and the js file cannot be found