Finish SleepJS class