uglify .js with query string

fixes webpack/react-starter#9