fixing out path for JS files