Make js services relocatible