Fixed regexp for replacing all occurences of js/css, closes #7