Major improvments and update to v. 2.55

Prevented double injection of the same javascript files if one or more
paglets need the same js file.  And the script is now 20% faster. Now
working in all browsers from IE 7 and newer.