I like this feature for linking CSS within the templates:
<link href="{stylesheet='styles/main'}" rel="stylesheet">
The great thing about this is that it does versioning automatically, which means I don't have to worry about old styles being cached, or trying to rename my CSS files, etc.
Is there a way to do the same for JS files? Right now, I do this:
<script src="{path="scripts/main"}"></script>
It doesn't do the versioning thing.