Retina JS not working

The documentation for Retina JS states that images need to have the data-rjs attribute set in order for them to opt in to using the script. This can be done using the third parameter of get_the_post_thumbnail() :

<?php echo get_the_post_thumbnail( get_the_ID(), 'thumbnail', array( 'data-rjs' => '3' ) ); ?>