Firefox is not playing nicely with the attr "checked" syntax. Switching to "prop" to make things better.