Use strict instead of type-converting comparison

This is just implementing a best practice and not solving any currently known problem.
@tedgill Have you guys been thinking about writing unit tests for methods like this? I'm happy to help with it.