Add init() method to counter browser reloads by user