Update staples.js

Better parsing still needs regex uid key caching