I'm building my first ajax-heavy application and am not sure of the proper approach for such things. 

If, for example I ajax in a html partial (a form), with:

```
$('#content').load('form.html'); 

```

**how should I include the javascript and css?**

I can, of course include them in the original document, but that seems wasteful if the form is never loaded. I can inline them (in form.html) with `<script>` and `<style>` elements, but that seems like the wrong approach.