modify self link to be data attribute rather than id. also fixes incorrect selection. fixes #13