Added header sprites, cleaned up js