Update asset_middleware.js

Fixing windows bug