Move vendor script build tags so scripts don't have to be duplicated

Previously, if you included a vendor script that was not different in dev vs. production, it had to be included twice — once under the `@if` tags for each target environment.

Now only scripts that change depending on the target environment need to be enclosed in the `@if` tags; any additional scripts can be placed elsewhere within the build tags.