fixes javascript error, goes to bed