Solved the challenge and integrated it into AngularJS to afford a nice (although version 1) UI experience