accidentally duplicated .js files between the plain and js flavour. Add an rm in post-install so this doesn't happen again.