Change how styles and scripts are added to views