simplify script to only work in current browsers

Conflicts:
	white-space.js