fix javascripts #3