Add InsertJS and RemoveJS to the Application object

Just as the TApplication object has InsertCSS and RemoveCSS it would be useful to have this facility for javascript libraries as well.

TControl has several methods to insert scripts associated with a control where it is most typically used for. If you need this in connection with a control, you might consider these.

    procedure AddControlScriptLink(const link: string); virtual;
    procedure AddControlScriptSource(const source: string); virtual;

If you need this outside the scope of a control, we would need to extend the TApplication object with such similar methods.

Thanks Bruno, I'll take a look. I'm in the process of putting some of @AndrewSimard 's work into objects. TControl might well be what I'm looking for here.