Fix JS specs