added js and clean index view for condition
Plugged in Js to templates
added js to template and added finished template
Merge pull request #28 from ucberkeley/features/js_fix

Features/js fix