Helper for CI that makes loading javascript and css files on demand, for each view separately.