add blob way

add blob way and compatibility with old browsers, please if accept, compile it, i don't have node in this pc :)