Fixes #4275: Remove useless JS initialisation
Merge pull request #395 from VinceMacBuche/bug/4275/remove_useles_js

Fixes #4275: Remove useless JS initialisation