Update rainbow.js

Fix the silly bug in the rainbow plugin.