rm unneeded JS UI from viewport