Remove trailing slash before stylesheet and script