A basic JS method for handling the back off use case