Fix lint issues, fix B2G viewer