Converted to vanilla JS

Fast like whoa!