[JS] - Advance option fully implemented