regex fix
Merge pull request #16 from spoptchev/regexfix

Minification issue in rails project