Update rimg.js

Made the != more strict by adding an extra =
So changed the != into !==