General bug fixed and IE6 and inferior support
Merge branch 'master' of https://github.com/dennisjosesilva/javascript-masterpage