Fix view bugs
Remove unused js files