make it more IE/Safari compat and stuff