adding jquery and jquery UI to the template section
small fixes