Merge pull request #27 from wangguan59/empty_selection

Empty selection
Add required fron-end attributes.