Updated example with latest js file