Too tired to hack in jQuery, will learn real way next time