Move addslashes to rendering where it belongs, fixes regression for static require lists and its dependency based sorting