smtp_forward: load .ini in register() w/callback

and a few jshint changes