still working on js arguments