fixed damned path in js