Version 0.3: Fixed an onUnload bug