moved prefix.js to separate library