Chapter 1 What’s New for FortiOS 5.2.1 : Security Profiles : Web Filtering : FortiGuard Rating Checks for Images, JavaScript, CSS, and CRL
  
FortiGuard Rating Checks for Images, JavaScript, CSS, and CRL
Web filter profiles that use FortiGuard rating checks can now be configured to rate images, JavaScript, CSS, and CRL.
Syntax
config webfilter profile
edit <name>
config ftgd-wf
set rate-javascript-urls enable
set rate-css-urls enable
set rate-crl-urls enable
set rate-image-urls enable
end
end
end