Minor Javascript changes.