JS libraries updated and rearrangement.