switched examples to javascript as they were confusing users.