dash: add embeded resource location, and return a byte array to node