Javascript command handler for permutateLexicographically Java binding procedure.