Updated Stateless Demo Website api.js file

Added the virtual path to the rest urls