Adding controlls to a exisiting window with the included JScript is not possible.
To do this you must use the Messenger Add-In SDK and write a Library...
Regards Chris
I´m sorry for my bad english. When you find a mistake in my spelling I would be very pleased, if you could tell me.