Minor tweaks to try and improve performance: only perform load tasks when the DOM is ready (line 7). Cache first checkbox element (line 11).