Updated options comment to note init code.
Refactored duplicate title attribute fetching code.