js modal branch