js handling - front page graphic effect