fixed bug with TAB key on demo page