Updated version of some javascript fixes.