Remove spec
Properly rewrite links in JS