mac: pgntion javascript