Fixed CSS and JS references

Added redirect functionality to restricted pages
Changed graph color scheming code to be more robust
Added example line chart