changes to grunt file and some script and style sourcing to allow grunt build to operate correctly