fixed bug #90
fixed bug #95
fixed bug #94
changed jquery localtion