Fixed jquery tabs usage on right panel
Fixed deprecated (and now removed) jquery API usage in right panel
preview