removed document.domain; setting js path instead