Fix stuff; seems to work without jquery