put jquery local + some fixes