minor changes
add color detection
add swarm.js on 1126