fixed bug js fades