fix jslint errors and dist update