fixed bug (conpliance with strict php)
- added support for IE<9 browsers
- fixed a few javascript backward compatibility errors