intermediate revision - added assertion for firefox 32 compatibility