Combined examples. Created new js to handle anchors.