solve block js