added better currency management
update callbacks and added local jquery