refinement: dont use .on use .inputs.
Merge branch 'master' into gh-pages
update: js.