change dashboard js to pick up domain and path from the codeigniter config file