More robust asset parsing in production mode

This fixes an error, which appears when you forgot to put attributes into qoutes and try to run your application in production mode.

Look at this thread for more information: https://github.com/niftylettuce/express-cdn/pull/19#issuecomment-11074475