Fix javascript commit hooks (even though they are pretty useless…)