Add attrs to View, remove all js files.