[JS] - Clever month switching