Old browsers compatibilty

Added code to make it compatible with old browsers... because even old browsers have to keep it empty