Added JS from official example
Added JS and links to it from official example