Since there's no way of moving to the next tab using javascript,
is there a code which presses CTRL + Tab so it'd move to the next tab?
It's not possible.
It would be a security risk for JavaScript to have the ability to control the browser in that way.
Imagine a malicious site (or a stupid developer) attempting to set the focus to the tab that contains their site every second...