Use jQuery instead of std javascript.