Comparison of old and new (jQuery) way to retrieve data from page