Simplify app.rb, add rgb() to color.js;