remove tailing dots from script tags@new jade spec