updating examples page with code and latest js