If you define the regions in which HTML or javascript will be defined, you can define a start and end regular expressions, and include the language. It's described a little more in Sublime Text 2: Different language highlighting based on context? (a la Webstorm).
If instead you want to include it globally (for instance if you were simply extending the language), you can add the following as an entry under "patterns".
<dict>
<key>include</key>
<string>source.js</string>
</dict>
<dict>
<key>include</key>
<string>text.html</string>
</dict>