change user permission, support screen dpi, remove used js function