=== instead of ==, see http://stackoverflow.com/a/359509