JavaScript that detects JS, CSS and Images in the user's browser