Sample code fit to FireFox

Sample code fit to FireFox