Fixes inclusion of JS files