Fix admin script

Conditionally loading nvd3 charts on pages that are not admin and add variable to handle scripts on views for admin