[js] rm unused import & wrap debounce/throttle lib, closes #111

6 jobs for refactor in 49 minutes and 15 seconds (queued for 4 seconds)