How To Get Base Url In Javascript