Updating: slightly improving some JS examples
Updating: slightly improving some JS examples