Suggest variation code via javascript