initial javascript, thinking about how the elements should look while fading and where they should fade to