Add required fron-end attributes.
Merge pull request #28 from wangguan59/empty_selection

Add required fron-end attributes.