I'm currently extending the JavaScript and the "Prototype & Scriptaculous" bundles [1] but noticed one thing. When a language has a "sub scope" like in this case (since prototype is a JavaScript framework, the parent scope is JavaScript") shouldn't the scopeName be 'source.js.prototype' instead of 'source.prototype.js'?
Aye, that should be reversed.