cleaned up js a bit and some styles