Update rainbow.js

Fix the silly bug in the plugin.