Fixed resource paths in js service layer by removing extra '/' character.