forgot to update tests for js