more work on repeatable js