[core] scan only files in content/(js|css)