Remove #login and #register from the JS UI