adjusting javascript and upgrading to 3.2.13