Updates #9. Should probably be a little cleaned up and checked for compatibility on IE. Freaking IE...