Converting my Python plugin to Javascript =>algorythm.js

Hello people,
I’ve developped a Python based plugin, and now I want to get rid of my Python server-flask, instead I want to use Javascript. Problem is, I used grafana-simple-json-datasource plugin as starting point, but I can’t figure out how to integrate a new file, algorythm.js
My biggest fear is the use of Grunt.
Do you have any advice ?