Updated Stateless Demo Website api.Js file

Added the virtual path to the rest urls