Update permissions. Add missing homepage js.