Second commit, fixes to cross browser issues
delete the old files