minors to js