fix prefixing of classnames
refactored script to easier accommodate wish to bypass CSS generation. Fixes #5