refactor js, add multiple times and yak sizes