- refactored to jquery (partly)
- refactored to jquery and refactored code