How to create default template for .js, .css files as like we can create/customize templates for .java files in eclipse?
Depends on which plug-ins you use for development.
In core Eclipse, a solution could be to set the default template content. Go to Web --> CSS Files --> Editor --> Templates
, and edit the New CSS File
item for example.