ticket:14 working on JS script