js homeworks ordered