I think it should be :
Code:
<file>templates/Pages.template</file>
instead of :
Code:
<file>templates/Pages.template.js</file>
Look at the yahoo skin as an example.
You can just write the content of the "prefs.Pages#Calendar" template in Pages.template like it is done for an other template in the yahoo skin. Then you deploy the skin, and that will create the .
js file automatically.