changed views page to use vanilla js in examples