Added flashWithProgrammer method into chrome-plugin.js