Compress javascript at the webserver too
Add post: preserving wordpress permalinks in Nikola