seriously, don't do this at home. i just wanted to avoid cluttering everything with a large js library.