took a functin off of scope
corrected indentation of script tags