Move wpterm.js to common dir