Over 200 errors in JSlint, my JS is not my forte. On to exporting.