Vanilla js example

Perhaps an example without jquery dependancy?