Smarter www creation logic for grunt build
Fixes so that lift works again