some js ui homeworks