Please do not store Categorylinks/Templatelinks from .css and .js pages in Categorylinks table/Templatelinks table, because there are not shown on that page. (No 'catlinks' section/template will shown as normal wikitext). Thanks.
Example:
When scripting there can be code like '"[[Category:"+cat.substring(0,1).toUpperCase()+cat.substring(1)+"]]"', this will produce a disadvantageous entry in 'Category:"+cat.substring(0,1).toUpperCase()+cat.substring(1)+"'.
Pagelinks table is useful to have backlinks and can find/support all usage of a script.
I have no observation about Imagelinks table
See also