fixed broken js issues
updated rainbow.js