Chrome function syntax