Added javascript fade in and fade out functions, as well as functions that strips out the existing classes or attributes. Working now on a cross fade.