Update main.js

Remove ugly tiny mistake in patch