Html: Move data format to standalone method formatData()

So it can also used on list not using inner db query.
Add global configure of jQuery src