Fix widget plugin add

jslint corrections