updated readme instructions
fix main.js loop in watch task