Added js to example page