minor refactor example pages js
update japp files
minor