Add JavaScript support and footer update