basic js parsing of blob