Fixed relative path errors

Fixed more relative path errors in JS